package com.lmh.graphdisease.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.neo4j.core.schema.GeneratedValue;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

/**
 * @author lmh
 * @desc
 * @date 2023/4/12
 */
@Node("User")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserEntity {
    @Id
    @GeneratedValue
    private Long id;

    @Property("identity")
    private String identity;

    @Property("name")
    private String name;

    @Property("username")
    private String username;

    @Property("password")
    private String password;


}
